User guide on how to use this demo.
More...
FlexCAN Demo User Guide
Getting started
There are two boards which should be used in this demo to perform peer to peer communication.
Default Debugger Connection
- TWR-K64F120M(on board OpenSDA)
Terminal Configuration
- TWR-K64F120M: UART1 PTC3/PTC4
Pin configurations:
- TWR-K64F120M: CAN0_TX: J11A-B42 (PTB18) , CAN0_RX: J11A-B41 (PTB19)
Commands/Directions
-
Download the program to target board, which should be installed in a tower system with TWR-SER.
-
Connect the USB cable to a PC host and open a serial terminal at 115200 baud, 8-bits no parity, 1 stop bit.
-
Short J5(1-2) J5(3-4) J5(5-6) J5(7-8) to enable CAN connection.
-
Connect the two TWR-SERs through the CAN port(J7).
-
When successfully connected, reset the TWR-MCU boards to run the demo and select the node ID for each board by typing A/a or B/b followed Enter.
-
You may now transfer characters by using serial terminals. For more details, see the video in for more details.